package laan.data.requestcenter
{
    import flash.events.*;

    public class RequestEvent extends Event
    {
        private var _data:Object;
        public static const REQEUST_ADD:String = "requestAdd";
        public static const REQUEST_TYPE_CHANGE:String = "requestTypeChange";
        public static const COMPLETE:String = "complete";
        public static const FAILED:String = "failed";
        public static const REQUEST_START:String = "start";

        public function RequestEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
        {
            super(type, bubbles, cancelable);
            _data = data;
            return;
        }// end function

        public function get data() : Object
        {
            return _data;
        }// end function

    }
}
